gtk4.git
15 years agowindow: Keep track of own visual
Benjamin Otte [Sat, 28 Aug 2010 17:49:03 +0000 (19:49 +0200)]
window: Keep track of own visual

Add gtk_window_set_visual() and a "visual" property. This allows
changing the window visual to the rgba one and other awesome things
(like implementing the trayicon spec).

15 years agogtk: Change gtk_widget_get_visual()
Benjamin Otte [Sat, 28 Aug 2010 16:52:27 +0000 (18:52 +0200)]
gtk: Change gtk_widget_get_visual()

We now return the visual of the topmost widget in widget's stack that
has a window. If no such widget exists, but a GtkWindow is a parent, we
return its visual (note: GtkWindow Will gain support for setting visuals
soon). If a window doesn't exist, we return the system visual of the
default screen.

This change has multiple reasons:
- Colormaps are gone
  Now visuals are the most important resource for creating GDK windows.
- Allow widgets to change visuals for themselves and their children
  By walking the hierarchy, we ensure that child windows have the same
  visual as their parents by default. But widgets can still select a
  different visual in their realize handler when creating the GDK
  window.
- Have a replacement for gtk_widget_set_colormap()
  That function is going to die with colormaps, so a replacement was
  needed. That replacement is going to be gdk_window_set_visual().
- Make a future transition to no-window GTK easy
  Should we ever attempt a change to make all GTK widgets no-window, a
  gtk_widget_set_visual() would be silly, as only widgets with windows
  can have their own visuals. So only toplevels will gain the ability to
  change it.

15 years agotests: Don't set colormap when creating offscreen windows
Benjamin Otte [Sat, 28 Aug 2010 16:05:47 +0000 (18:05 +0200)]
tests: Don't set colormap when creating offscreen windows

15 years agotestgtk: Don't set colormap when creating GDK windows
Benjamin Otte [Sat, 28 Aug 2010 16:05:30 +0000 (18:05 +0200)]
testgtk: Don't set colormap when creating GDK windows

15 years agogtk: Don't set colormap anymore when creating GDK windows
Benjamin Otte [Sat, 28 Aug 2010 16:04:08 +0000 (18:04 +0200)]
gtk: Don't set colormap anymore when creating GDK windows

Colormaps are about to be removed, so not using them sounds like an
awesome idea.

15 years agotestgtk: No need to set a custom colourmap here
Benjamin Otte [Sat, 28 Aug 2010 15:35:47 +0000 (17:35 +0200)]
testgtk: No need to set a custom colourmap here

15 years agospinner: We're a no-window widget, so setting a colormap does nothing
Benjamin Otte [Sat, 28 Aug 2010 14:51:52 +0000 (16:51 +0200)]
spinner: We're a no-window widget, so setting a colormap does nothing

15 years agostyle: Remove depth member from GtkStyle
Benjamin Otte [Sat, 28 Aug 2010 10:08:24 +0000 (12:08 +0200)]
style: Remove depth member from GtkStyle

15 years agogdk: Remove _gdk_drawable_get_source_drawable()
Benjamin Otte [Sat, 28 Aug 2010 09:57:03 +0000 (11:57 +0200)]
gdk: Remove _gdk_drawable_get_source_drawable()

Now that we don't create pixmaps anymore, this function is not needed
anymore. The indirection it did previously is now basically moved to
gdk_window_create_similar_surface()

15 years agostyle: Remove depth checks in render functions
Benjamin Otte [Sat, 28 Aug 2010 09:52:19 +0000 (11:52 +0200)]
style: Remove depth checks in render functions

There's no need for them anymore now that we render with Cairo.

15 years agox11: Remove some unused macros
Benjamin Otte [Sat, 28 Aug 2010 09:49:20 +0000 (11:49 +0200)]
x11: Remove some unused macros

15 years agox11: s/GDK_DRAWABLE_DISPLAY/GDK_WINDOW_DISPLAY
Benjamin Otte [Sat, 28 Aug 2010 09:48:14 +0000 (11:48 +0200)]
x11: s/GDK_DRAWABLE_DISPLAY/GDK_WINDOW_DISPLAY

15 years agotests: No need to allocate colors anymore
Benjamin Otte [Fri, 27 Aug 2010 18:02:04 +0000 (20:02 +0200)]
tests: No need to allocate colors anymore

15 years agoAPI: Remove gtk_widget_push_colormap()
Benjamin Otte [Fri, 27 Aug 2010 17:47:43 +0000 (19:47 +0200)]
API: Remove gtk_widget_push_colormap()

And of course, gtk_widget_pop_colormap() is gone, too.
No replacement is necessary, the function is basically unused.

15 years agogdk: Remove pixmap debug category
Benjamin Otte [Fri, 27 Aug 2010 14:34:09 +0000 (16:34 +0200)]
gdk: Remove pixmap debug category

It's not used anywhere anymore.

15 years agogdk: Remove GdkPixmap
Benjamin Otte [Fri, 27 Aug 2010 15:05:48 +0000 (17:05 +0200)]
gdk: Remove GdkPixmap

All iusers of it are gone, so it's now time to let go.
cairo_surface_t is a full replacement, combined with
gdk_window_create_similar_surface().

15 years agoInclude OS X system headers
Kristian Rietveld [Tue, 14 Sep 2010 06:16:54 +0000 (08:16 +0200)]
Include OS X system headers

15 years agotests: Remove GdkPixmap from test
Benjamin Otte [Fri, 27 Aug 2010 15:03:02 +0000 (17:03 +0200)]
tests: Remove GdkPixmap from test

It's not used anymore. (Was it ever?)

15 years agogtk: Remove special code for detecting pixmaps as event targets
Benjamin Otte [Fri, 27 Aug 2010 15:00:14 +0000 (17:00 +0200)]
gtk: Remove special code for detecting pixmaps as event targets

15 years agoquartz: Remove else-clause for pixmaps
Kristian Rietveld [Tue, 14 Sep 2010 06:18:42 +0000 (08:18 +0200)]
quartz: Remove else-clause for pixmaps

15 years agox11: Create blank cursor without pixmaps
Benjamin Otte [Fri, 27 Aug 2010 14:00:09 +0000 (16:00 +0200)]
x11: Create blank cursor without pixmaps

15 years agogdk: Get rid of all occurences of "pixmap" in the comments
Benjamin Otte [Fri, 27 Aug 2010 13:21:58 +0000 (15:21 +0200)]
gdk: Get rid of all occurences of "pixmap" in the comments

Replace them with the correct term, usually "surface".

15 years agox11: Make fallback cursor code not use pixmaps
Benjamin Otte [Fri, 27 Aug 2010 13:09:49 +0000 (15:09 +0200)]
x11: Make fallback cursor code not use pixmaps

The fallback code for when XCursor wasn't available was still using
GdkPixmap to create the bitmaps.

15 years agox11: Remove last traces of XShm
Benjamin Otte [Fri, 27 Aug 2010 12:51:55 +0000 (14:51 +0200)]
x11: Remove last traces of XShm

Since deletion of GdkImage, shm is no longer in use.

15 years agox11: Remove _gdk_x11_convert_to_format()
Benjamin Otte [Fri, 27 Aug 2010 12:18:50 +0000 (14:18 +0200)]
x11: Remove _gdk_x11_convert_to_format()

It's unused now.

15 years agox11: Upload cursor image using Cairo
Benjamin Otte [Fri, 27 Aug 2010 12:13:03 +0000 (14:13 +0200)]
x11: Upload cursor image using Cairo

There's no need to write our own upload function when the cursor format
is identical to CAIRO_FORMAT_ARGB32.

15 years agoAPI: Rename gdk_set_source_pixmap() to gdk_set_source_window()
Benjamin Otte [Fri, 27 Aug 2010 10:52:59 +0000 (12:52 +0200)]
API: Rename gdk_set_source_pixmap() to gdk_set_source_window()

That's what it's used for now.

15 years agogdk: Convert test to not use pixmaps
Benjamin Otte [Fri, 27 Aug 2010 10:42:35 +0000 (12:42 +0200)]
gdk: Convert test to not use pixmaps

15 years agoAPI: Remove gdk_window_set_back_pixmap()
Benjamin Otte [Fri, 27 Aug 2010 10:31:52 +0000 (12:31 +0200)]
API: Remove gdk_window_set_back_pixmap()

The same effect can be achieved with
gdk_window_set_background_pattern().

15 years agodemos: No need to set the background, it gets overridden anyway
Benjamin Otte [Fri, 27 Aug 2010 10:31:32 +0000 (12:31 +0200)]
demos: No need to set the background, it gets overridden anyway

15 years agoperf: Use a temp window instead of a normal one
Benjamin Otte [Fri, 27 Aug 2010 10:30:54 +0000 (12:30 +0200)]
perf: Use a temp window instead of a normal one

This way, we don't need hacks to not set the background.

15 years agoAPI: Remove APIs to generate pixmaps from pixbufs
Benjamin Otte [Fri, 27 Aug 2010 10:14:36 +0000 (12:14 +0200)]
API: Remove APIs to generate pixmaps from pixbufs

The 3 functions in question were:
- gdk_pixbuf_render_threshold_alpha()
- gdk_pixbuf_render_pixmap_and_mask()
- gdk_pixbuf_render_pixmap_and_mask_for_colormap()

All of them can be replaced using Cairo if they have to. The
functionality is only needed to talk to old X interfaces and normal apps
do fine without them.

15 years agox11: Set the icon using Cairo
Benjamin Otte [Fri, 27 Aug 2010 10:08:30 +0000 (12:08 +0200)]
x11: Set the icon using Cairo

No more GdkPixmap to store the icon and its mask, but instead use cairo
surfaces. Also render the icon into the surfaces using Cairo instead of
gdk_pixbuf_render_threshold_alpha().

15 years agoAPI: Change offscreen windows to use a cairo_surface_t
Benjamin Otte [Thu, 26 Aug 2010 11:46:34 +0000 (13:46 +0200)]
API: Change offscreen windows to use a cairo_surface_t

This requires changes to all the offscreen surface getters that used to
return a GdkPixmap before.

15 years agogdk: Use surfaces for double buffering
Benjamin Otte [Thu, 26 Aug 2010 09:21:51 +0000 (11:21 +0200)]
gdk: Use surfaces for double buffering

Don't use pixmaps anymore. Also use subsurfaces for implicit paints and
correcly set device offsets.

15 years agogdk: Make csw windows have their own cairo surface
Benjamin Otte [Thu, 26 Aug 2010 08:15:59 +0000 (10:15 +0200)]
gdk: Make csw windows have their own cairo surface

With Cairo 1.10 now having cairo_surface_create_for_rectangle(), we can
use them. No need to create multiple native surfaces for the same X
window (ugh) anymore.

15 years agoAPI: Remove gdk_window_get_internal_paint_info()
Benjamin Otte [Wed, 25 Aug 2010 23:17:04 +0000 (01:17 +0200)]
API: Remove gdk_window_get_internal_paint_info()

This function should not exist in public API, it exposes too many
internals.

15 years agogdk: offscreen window source drawable now is the root window
Benjamin Otte [Wed, 25 Aug 2010 21:39:30 +0000 (23:39 +0200)]
gdk: offscreen window source drawable now is the root window

As the source drawable is only used for creating pixmaps these days, we
don't have to keep a real drawable around, but can just use the root
window.

15 years agogdk: Create surfaces directly, not from the source drawable
Benjamin Otte [Wed, 25 Aug 2010 21:35:40 +0000 (23:35 +0200)]
gdk: Create surfaces directly, not from the source drawable

The notion of a source drawable does not make a lot of sense for windows
that are not backed by a drawable, such as GdkOffscreenWindow after
converting it to cairo_surface_t.

15 years agogdk: Remove gdk_windowing_create_cairo_surface()
Benjamin Otte [Wed, 25 Aug 2010 20:16:28 +0000 (22:16 +0200)]
gdk: Remove gdk_windowing_create_cairo_surface()

Instead, actually use the create_cairo_surface vfunc on the
implementation drawable. D'oh.

15 years agodnd: Replace last pixmap usage with cairo surfaces.
Benjamin Otte [Wed, 25 Aug 2010 19:06:21 +0000 (21:06 +0200)]
dnd: Replace last pixmap usage with cairo surfaces.

15 years agoAPI: image: Remove ability to set image from a pixmap
Benjamin Otte [Wed, 25 Aug 2010 14:50:14 +0000 (16:50 +0200)]
API: image: Remove ability to set image from a pixmap

15 years agoAPI: Remove the ability to set the dnd icon from a pixmap
Benjamin Otte [Wed, 25 Aug 2010 14:49:45 +0000 (16:49 +0200)]
API: Remove the ability to set the dnd icon from a pixmap

15 years agotests: Convert testinput to use cairo_surface_t
Benjamin Otte [Wed, 25 Aug 2010 13:50:57 +0000 (15:50 +0200)]
tests: Convert testinput to use cairo_surface_t

15 years agogdk: Remove gdk_window_redirect_to_drawable()
Benjamin Otte [Tue, 24 Aug 2010 15:13:05 +0000 (17:13 +0200)]
gdk: Remove gdk_window_redirect_to_drawable()

Also remove the reverse gdk_window_remove_redirection().

The code was only used by the snapshotting code, and that code is dead
now.

15 years agotestoffscreen: Remove unused code
Benjamin Otte [Tue, 24 Aug 2010 15:06:40 +0000 (17:06 +0200)]
testoffscreen: Remove unused code

15 years agoAPI: Remove gtk_widget_get_snapshot()
Benjamin Otte [Tue, 24 Aug 2010 15:04:18 +0000 (17:04 +0200)]
API: Remove gtk_widget_get_snapshot()

It will be replaced with gtk_widget_draw().

15 years agotestgtk: Remove snapshot test
Benjamin Otte [Tue, 24 Aug 2010 15:03:23 +0000 (17:03 +0200)]
testgtk: Remove snapshot test

gtk_widget_get_snapshot is on its way out.

The test can be added back once we have gtk_widget_draw(), but until
then, there's no way to take snapshots.

15 years agoruler: Make the backing store use a surface
Benjamin Otte [Tue, 24 Aug 2010 14:27:55 +0000 (16:27 +0200)]
ruler: Make the backing store use a surface

15 years agoAPI: make gtk_icon_view_create_drag_icon() return a cairo_surface_t
Benjamin Otte [Tue, 24 Aug 2010 14:03:09 +0000 (16:03 +0200)]
API: make gtk_icon_view_create_drag_icon() return a cairo_surface_t

GdkPixmap is going to die!

15 years agoAPI: make gtk_tree_view_create_row_drag_icon() return a cairo_surface_t
Benjamin Otte [Tue, 24 Aug 2010 13:56:08 +0000 (15:56 +0200)]
API: make gtk_tree_view_create_row_drag_icon() return a cairo_surface_t

GdkPixmap is going to die!

15 years agotreeview: Convert GtkTreeViewColumn rendering to Cairo
Benjamin Otte [Tue, 24 Aug 2010 13:45:41 +0000 (15:45 +0200)]
treeview: Convert GtkTreeViewColumn rendering to Cairo

15 years agoiconview: Port to Cairo rendering
Benjamin Otte [Sun, 22 Aug 2010 02:32:52 +0000 (04:32 +0200)]
iconview: Port to Cairo rendering

15 years agocellview: Port to Cairo rendering
Benjamin Otte [Sun, 22 Aug 2010 02:32:39 +0000 (04:32 +0200)]
cellview: Port to Cairo rendering

15 years agoAPI: Add gtk_cell_renderer_render_cairo()
Benjamin Otte [Sun, 22 Aug 2010 01:53:45 +0000 (03:53 +0200)]
API: Add gtk_cell_renderer_render_cairo()

It's like gtk_cell_renderer_render(), just cooler.

15 years agoAPI: Change cellrenderer->render vfunc to take a cairo_t
Benjamin Otte [Sat, 21 Aug 2010 11:18:14 +0000 (13:18 +0200)]
API: Change cellrenderer->render vfunc to take a cairo_t

Also constify the rectangle arguments. They were const anyway.

15 years agotestview: Convert _gtk_text_util_create_rich_drag_icon() to use surfaces
Benjamin Otte [Sun, 15 Aug 2010 19:24:55 +0000 (21:24 +0200)]
testview: Convert _gtk_text_util_create_rich_drag_icon() to use surfaces

15 years agotextview: API: change gtk_text_layout_draw() to take a cairo_t
Benjamin Otte [Sun, 15 Aug 2010 17:41:51 +0000 (19:41 +0200)]
textview: API: change gtk_text_layout_draw() to take a cairo_t

This simplifies the API a lot and allows more magic to happen later.

15 years agoAPI: Add gtk_cairo_draw_insertion_cursor()
Benjamin Otte [Sun, 15 Aug 2010 17:38:32 +0000 (19:38 +0200)]
API: Add gtk_cairo_draw_insertion_cursor()

For now just add it instead of replacing the current function. In the
end, this one should probably be renamed to
gtk_draw_insertion_cursor() and the current
gtk_draw_insertion_cursor() should die.

15 years agotext: Make _gtk_text_util_create_drag_icon() return a surface
Benjamin Otte [Sun, 15 Aug 2010 14:53:27 +0000 (16:53 +0200)]
text: Make _gtk_text_util_create_drag_icon() return a surface

And change its callers to handle it that way.

15 years agoAPI: Add gtk_drag_set_icon_surface()
Benjamin Otte [Sun, 15 Aug 2010 14:52:25 +0000 (16:52 +0200)]
API: Add gtk_drag_set_icon_surface()

The function is supposed to replace gtk_drag_set_icon_pixmap().

15 years agomenu: set tearoff background using new background API
Benjamin Otte [Sun, 15 Aug 2010 12:41:29 +0000 (14:41 +0200)]
menu: set tearoff background using new background API

15 years agoUse gdk_window_set_background_pattern() to set parent-relative bakground
Benjamin Otte [Sun, 15 Aug 2010 12:37:58 +0000 (14:37 +0200)]
Use gdk_window_set_background_pattern() to set parent-relative bakground

15 years agoiconview: No need to set background
Benjamin Otte [Sun, 15 Aug 2010 12:37:49 +0000 (14:37 +0200)]
iconview: No need to set background

15 years agostyle: Rewrite background handling to use cairo_pattern_t
Benjamin Otte [Sun, 15 Aug 2010 12:36:05 +0000 (14:36 +0200)]
style: Rewrite background handling to use cairo_pattern_t

15 years agotrayicon: Use new gdk_window_set_background_pattern() API
Benjamin Otte [Sun, 15 Aug 2010 12:35:48 +0000 (14:35 +0200)]
trayicon: Use new gdk_window_set_background_pattern() API

15 years agogtk: Remove calls that try to set GDK_NO_BG on their windows
Benjamin Otte [Sun, 15 Aug 2010 11:54:05 +0000 (13:54 +0200)]
gtk: Remove calls that try to set GDK_NO_BG on their windows

These calls aren't necessary anymore.

15 years agogdk: Rewrite background handling
Benjamin Otte [Sun, 15 Aug 2010 11:49:30 +0000 (13:49 +0200)]
gdk: Rewrite background handling

Now the window background is a cairo_pattern_t. The backends will try to
set this as good as they can on the windowing system, but no guarantees
are made on wether the windowing system supports the pattern.

Also gets rid of GDK_NO_BG as undefined behavior is not a good idea to
support, and GDK_NO_BG effectively made the window's contents undefined.
It wasn't effectively used in GTK anyway.

15 years agogdk: Remove supports_native_bg on WindowImplIface
Benjamin Otte [Sun, 15 Aug 2010 01:27:30 +0000 (03:27 +0200)]
gdk: Remove supports_native_bg on WindowImplIface

This will not be TRUE for anything anymore, once we fix background
handling.

15 years agogdk: Remove send_expose event from gdk_window_clear_region_internal()
Benjamin Otte [Sun, 15 Aug 2010 01:20:10 +0000 (03:20 +0200)]
gdk: Remove send_expose event from gdk_window_clear_region_internal()

It's always FALSE.

15 years agogdk: Remove GdkWindowImpl->clear_region
Benjamin Otte [Sun, 15 Aug 2010 01:16:20 +0000 (03:16 +0200)]
gdk: Remove GdkWindowImpl->clear_region

It was only used on the X11 backend and is easier to implement locally,
in particular when we want to allow backgrounds that X can't handle.

15 years agogdk: Simplify clear_area code
Benjamin Otte [Sun, 15 Aug 2010 01:13:08 +0000 (03:13 +0200)]
gdk: Simplify clear_area code

No more use for a gdk_window_clear_area_internal() function as there's
just one caller.

15 years agoAPI: Remove gdk_window_clear_area_e()
Benjamin Otte [Sun, 15 Aug 2010 01:11:01 +0000 (03:11 +0200)]
API: Remove gdk_window_clear_area_e()

Awesome name for a function. Plus, it's unused and its functionality can
easily be replicated.

15 years agogdk: Don't use clear_area_e() in offscreenwindow
Benjamin Otte [Sun, 15 Aug 2010 01:10:16 +0000 (03:10 +0200)]
gdk: Don't use clear_area_e() in offscreenwindow

Instead, call gdk_window_invalidate_rect() ourselves.

15 years agogdk: Remove _gdk_windowing_get_shape_for_mask()
Benjamin Otte [Sat, 14 Aug 2010 04:51:53 +0000 (06:51 +0200)]
gdk: Remove _gdk_windowing_get_shape_for_mask()

It's unused. And there's a replacement available with
gdk_cairo_region_create_from_surface()

15 years agoAPI: Remove shape_combine_mask functions from gdk
Benjamin Otte [Sat, 14 Aug 2010 04:46:25 +0000 (06:46 +0200)]
API: Remove shape_combine_mask functions from gdk

This removes gdk_window_shape_combine_mask() and
gdk_window_input_shape_combine_mask(). GdkBitmap is going away and a
replacement exists via the combine_region() functions and
gdk_cairo_region_create_from_surface().

15 years agowidget: shape_combine_mask => shape_cobine_region
Benjamin Otte [Sat, 14 Aug 2010 04:38:11 +0000 (06:38 +0200)]
widget: shape_combine_mask => shape_cobine_region

Replace gtk_widget_shape_combine_region() with
gtk_widget_shape_combine_mask() and
gtk_widget_input_shape_combine_region() with
gtk_widget_input_shape_combine_mask().
As GdkBitmap is going away, and the region equivalents already exist,
this seems like pretty much the default step to take.

Includes code to fix up the users.

15 years agotreeview: Port to gdk_window_shape_combine_region()
Benjamin Otte [Sat, 14 Aug 2010 03:37:24 +0000 (05:37 +0200)]
treeview: Port to gdk_window_shape_combine_region()

gdk_window_shape_combine_mask() is going away. It's using a GdkPixmap
and falls back to gdk_window_shape_combine_region() anyway.

15 years agoAPI: Add gdk_cairo_region_create_from_surface()
Benjamin Otte [Sat, 14 Aug 2010 02:40:52 +0000 (04:40 +0200)]
API: Add gdk_cairo_region_create_from_surface()

The function converts the given surface into an alpha bitmap mask. This
is mostly useful for setting shape regions.

Also adds a new internal function _gdk_cairo_surface_extents() that
computes a surface's extents.

15 years agoAPI: Remove gdk_cursor_new_from_pixmap()
Benjamin Otte [Thu, 12 Aug 2010 13:43:23 +0000 (15:43 +0200)]
API: Remove gdk_cursor_new_from_pixmap()

gdk_cursor_new_from_pixbuf() is the proper replacement.

15 years agocolorsel: Use gdk_cursor_new_from_pixbuf() to create the cursor
Benjamin Otte [Thu, 12 Aug 2010 13:28:16 +0000 (15:28 +0200)]
colorsel: Use gdk_cursor_new_from_pixbuf() to create the cursor

gdk_cursor_new_from_pixmap() is about to die.

15 years agoAPI: remove gdk_window_set_icon()
Benjamin Otte [Thu, 12 Aug 2010 02:48:06 +0000 (04:48 +0200)]
API: remove gdk_window_set_icon()

gdk_window_set_icon_list() now does everything gdk_window_set_icon()
used to do.

15 years agotestgtk: Convert WM hints example to use gdk_window_set_icon_list()
Benjamin Otte [Thu, 12 Aug 2010 02:39:28 +0000 (04:39 +0200)]
testgtk: Convert WM hints example to use gdk_window_set_icon_list()

gdk_window_set_icon() is about to go away.

Also removes the circles.xbm file and uses the oncluded openfile logo
instead.

15 years agowindow: Remove call to gdk_window_set_icon()
Benjamin Otte [Thu, 12 Aug 2010 02:33:16 +0000 (04:33 +0200)]
window: Remove call to gdk_window_set_icon()

Also remove all the functions taking care of it. This is now handled by
the X11 backend directly. And the other backends ignored this function
anyway.

15 years agox11: remove icon_window property, it's not used anymore
Benjamin Otte [Thu, 12 Aug 2010 02:29:10 +0000 (04:29 +0200)]
x11: remove icon_window property, it's not used anymore

15 years agox11: Set icon based on icon list
Benjamin Otte [Thu, 12 Aug 2010 02:21:49 +0000 (04:21 +0200)]
x11: Set icon based on icon list

Basically copies the code for setting the WM icon hint from GtkWindow to
GdkWindow. This achieves the following:
- Putting this X11 specific code into the X11 backend
- Enables removal of gdk_window_set_icon()
- Gets rid of Pixmap/Bitmap usage outside of GDK.

15 years agopixbuf-engine: remove unused theme_pixbuf_render_no_cairo()
Benjamin Otte [Tue, 17 Aug 2010 03:15:31 +0000 (05:15 +0200)]
pixbuf-engine: remove unused theme_pixbuf_render_no_cairo()

15 years agostyle: Convert draw_spinner vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:09:50 +0000 (15:09 +0200)]
style: Convert draw_spinner vfunc to Cairo version

15 years agostyle: Convert draw_resize_grip vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:13:26 +0000 (15:13 +0200)]
style: Convert draw_resize_grip vfunc to Cairo version

Includes removal of now unused draw_simple_image_no_cairo() function
from pixbuf engine.

15 years agostyle: Convert draw_layout vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:21:01 +0000 (15:21 +0200)]
style: Convert draw_layout vfunc to Cairo version

15 years agostyle: Convert draw_expander vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:26:19 +0000 (15:26 +0200)]
style: Convert draw_expander vfunc to Cairo version

15 years agostyle: Convert draw_handle vfunc to Cairo version
Benjamin Otte [Tue, 17 Aug 2010 01:26:20 +0000 (03:26 +0200)]
style: Convert draw_handle vfunc to Cairo version

15 years agostyle: Convert draw_slider vfunc to Cairo version
Benjamin Otte [Tue, 17 Aug 2010 00:46:46 +0000 (02:46 +0200)]
style: Convert draw_slider vfunc to Cairo version

15 years agostyle: Convert draw_focus vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 20:24:46 +0000 (22:24 +0200)]
style: Convert draw_focus vfunc to Cairo version

15 years agostyle: Convert draw_extension vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 20:19:56 +0000 (22:19 +0200)]
style: Convert draw_extension vfunc to Cairo version

15 years agostyle: Convert draw_box_gap vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 20:15:43 +0000 (22:15 +0200)]
style: Convert draw_box_gap vfunc to Cairo version

Includes removal of now unused draw_gap_image_no_cairo() function from
pixbuf theme engine.

15 years agostyle: Convert draw_shadow_gap vfunc to a Cairo version
Benjamin Otte [Mon, 16 Aug 2010 14:09:11 +0000 (16:09 +0200)]
style: Convert draw_shadow_gap vfunc to a Cairo version

15 years agostyle: Convert draw_tab vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 20:10:00 +0000 (22:10 +0200)]
style: Convert draw_tab vfunc to Cairo version

15 years agostyle: Convert draw_option vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 19:58:15 +0000 (21:58 +0200)]
style: Convert draw_option vfunc to Cairo version

15 years agostyle: Convert draw_check vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 19:55:02 +0000 (21:55 +0200)]
style: Convert draw_check vfunc to Cairo version